package com.yayun.merchant.mapper;

import java.util.List;
import com.yayun.merchant.domain.OmsOrderDeliveryHistory;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface OmsOrderDeliveryHistoryMapper {
    /**
     * 查询订单发货记录列表
     */
    List<OmsOrderDeliveryHistory> selectOrderDeliveryHistoryList(OmsOrderDeliveryHistory orderDeliveryHistory);

    /**
     * 根据订单ID查询订单发货记录
     */
    List<OmsOrderDeliveryHistory> selectOrderDeliveryHistoryByOrderId(Long orderId);

    /**
     * 新增订单发货记录
     */
    int insertOrderDeliveryHistory(OmsOrderDeliveryHistory orderDeliveryHistory);

    /**
     * 修改订单发货记录
     */
    int updateOrderDeliveryHistory(OmsOrderDeliveryHistory orderDeliveryHistory);

    /**
     * 删除订单发货记录
     */
    int deleteOrderDeliveryHistoryById(Long id);

    /**
     * 批量删除订单发货记录
     */
    int deleteOrderDeliveryHistoryByIds(Long[] ids);
} 